//
//  CityLocationView.h
//
//
//  Created by gynjobs on 2017/8/14.
//  Copyright © 2017年 gynjobs. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "SearchBarView.h"

@protocol CityLocationDelegate <NSObject>

-(void)cityLocationHotIndex:(NSInteger)index;

@end

@interface CityLocationView : UIView
@property (nonatomic,strong) SearchBarView *searchBarView;
@property (nonatomic,strong) UITableView *cityTableView;
@property (nonatomic,weak) id<CityLocationDelegate> cityDelegate;

-(id)genTableViewHeaderView:(id)data;
-(void)setCallBackData:(id)hotData withDataSource:(id)dataSource;
@end
